<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>弹出祝福语</title>
</head>
<body>
    <script>
        let jieri = prompt("请输入中国传统节日:");
        switch (jieri){
            case '春节':
                alert('春节快乐');
                break;
            case '元宵':
                alert("元宵快乐");
                break;
            default:
                alert("暂无法识别该输入");
                break;
        }
    </script>
</body>
</html>